//
//  PreviewBaseInfoTableViewCell.m
//  MyProject
//
//  Created by jiaming yan on 2018/5/18.
//  Copyright © 2018年 yanjiaming. All rights reserved.
//

#import "PreviewBaseInfoTableViewCell.h"

@implementation PreviewBaseInfoTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}
- (void)getModelGetResume:(ResumeModel *)model{
    [self.headImageView sd_setImageWithURL:[NSURL URLWithString:model.headImg] placeholderImage:IMAGE(@"默认图")];
    self.nameLabel.text = model.name;
    if ([model.sex isEqualToString:@"女"]) {
        self.sexImageView.image = IMAGE(@"ic_girl");
    }else{
        self.sexImageView.image = IMAGE(@"ic_boy");
    }
    self.birthDayLabel.text = model.birthday;;
    self.cityLabel.text = model.name;;
    self.eduLabel.text =[NSString stringWithFormat:@"%@ | %@",model.maxEducationName,model.school];
    self.workTimeLabel.text = [NSString stringWithFormat:@"%zd三年工作经验",model.workYear];;
    self.typeLabel.text = model.candidateStateName;
    
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
